<template>
	<view>
		<view class="cu-timeline">
			<view class="cu-time">    </view>
			<view class="cu-item" v-for="WageData in WageDatas">
				<view class="cu-time">{{WageData.Date}}</view>
				<view class="content">
					<view class="cu-list menu text-left">
						<navigator class="cu-item arrow" :url="'../details/details?id='+Data[2]" v-for="Data in WageData.Data">
							<!-- <view class="cu-avatar bg-white radius sm margin-right-sm" style="background-image:url(../../static/base_pay.png);"></view> -->
							<view class="cu-avatar bg-white radius sm margin-right-sm" :style="'background-image:url('+(Data[0]=='基本工资' ? '../../static/base_pay.png':'../../static/merit_pay.png')+');'"></view>
							<view class="content">
								<view>{{Data[0]}}</view>
							</view>				
							<view class="action">
								<view>￥{{Data[1]}}</view>
							</view>
						</navigator>
					</view>
				</view>
			</view>	
			
		</view>
		<view class="text-center text-grey text-sm" v-if="state">-- 没有更多了 --</view>
	</view>
</template>

<script>
	export default {
		name:"preview",
		props:['WageDatas','state'],
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
